From LATEX to HTML and

نویسندگان

  • Michel Goossens
  • Nikos Drakos
چکیده

Both L A T E X and HTML are languages that can express the structure of a document, and similarities between these two systems are shown. A detailed study is made of the LaTeX2HTML program, written by Nikos Drakos, that is today the most complete utility for translating L A T E X code into HTML, providing a quasi-automatic translation for most elements. A discussion of a few other tools for translating between HTML and L A T E X concludes the article. HTML and L A T E X are both generic markup systems, and a comparison between tags for structural elements in both cases is shown in Table 1. In most cases the diierences are trivial, seeming to indicate that, at rst approximation, translating between these two systems should not prove too dii-cult. The translation programs described in this article use these similarities, but in order to exploit the richness of the L A T E X language as compared to HTML (especially HTML2, which has no support for tables or mathematics), an ad hoc approach has to be adopted. To handle correctly L A T E X commands that have no equivalent in HTML, such elements can either be transformed into pictures (an approach taken by LaTeX2HTML), or the user can specify how the given element should be handled in the target language. Before discussing the LaTeX2HTML program, we want to mention a few other programs. First there is l2x 1 , written by Henning Schulzrinne (Berlin, Ger-many), which translates L A T E X into various other formats. This program is written in C and calls a Tcl function (Ousterhout 1994) for each L A T E X command. A converter html.tcl is available for translating L A T E X les into HTML, by writing, for instance: l2x-p html.tcl article.tex Presently, only a subset of all L A T E X commands are handled (no mathematical formulae, tables, verbatim texts, etc.), yet it is not too diicult to augment the code of the converter html.tcl by introducing new Tcl commands. has developed Hyperlatex 2 , a little package written in the GNU Emacs Lisp language to translate documents marked up in (a subset of) L A T E X into HTML. Although not directly relevant to L A T E X, it is nevertheless interesting to mention the existence of tex2RTF 3 , a program …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A cross-sectional study of Latex allergy among operation room staff of hospitals of Tehran University of Medical Sciences, 1380-81

Background: Latex allergy is a major occupational disease with prevalence nearly 5-17% among the health care workers. Objective: To determine the prevalence of latex glove allergy and its contributing factors among operation room staff. Patients and Methods: In this study, 512 operation room staff were evaluated for latex allergy, using a complete questionnaire. Those suspected to have latex al...

متن کامل

The Open University ’ s repository of research publications and other research outputs It ROCS ! The RASH Online Conversion Service

In this poster paper we introduce the RASH Online Conversion Service, i.e., a Web application that allows the conversion of ODT documents into RASH, a HTML-based markup language for writing scholarly articles, and from RASH into LaTeX. This tool allows authors with no experience in HTML to easily produce HTML-based papers and supports the publishing process by generating also a LaTeX version ac...

متن کامل

The RASH Online Conversion Service

In this poster paper we introduce the RASH Online Conversion Service, i.e., a Web application that allows the conversion of ODT documents into RASH, a HTML-based markup language for writing scholarly articles, and from RASH into LaTeX. This tool allows authors with no experience in HTML to easily produce HTML-based papers and supports the publishing process by generating also a LaTeX version ac...

متن کامل

From L A TEX to HTML and back Michel

Both LATEX and HTML are languages that can express the structure of a document, and similarities between these two systems are shown. A detailed study is made of the LaTeX2HTML program, written by Nikos Drakos, that is today the most complete utility for translating LATEX code into HTML, providing a quasi-automatic translation for most elements. A discussion of a few other tools for translating...

متن کامل

On using HEVEA, a fast LTEX to html translator

Most users who discover a LTEX to html translator such as HEVEA have the following expectation : getting a html-version of some document doc.tex, should be as simple as typing “hevea doc.tex”, provided “latex doc.tex” already works. And indeed, much of the work invested in the development of HEVEA aim at fulfilling this expectation. For instance, the design of HEVEA is much inspired by the desi...

متن کامل

Publishing Formal Specifications in Z Notation on World Wide Web

This article presents Z-Scape, Netscape Navigator plug-in and ActiveX control which enables the usage of WWW clients for viewing HTML pages with embedded LaTeX documents containing Z specifications.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995